# priman

Priman (Privacy Manager) is a very fast, lightweight(only about 102.3KB) and minimalistic tool for file encrypting and decrypting using XXTEA algorithm.

## Installation

### Building from source

1. Install nim (version 1.6.6 or higher) from https://nim-lang.org/install.html
2. Clone this repo.
3. Excute `nimble build --gc:refc -d:strip -d:release --opt:speed` in package directory to build priman.
   If you want to decrease binary size use `nimble build --gc:regions -d:strip -d:danger --opt:size`.
4. Copy compiled binary to /usr/local/bin with `sudo cp priman /usr/local/bin` or to ~/.local/bin with `cp priman ~/.local/bin`. Don't forget to add ~/.local/bin to your PATH if you selected this directory.
5. You're Done!

### Installing allready compiled binary

1. In package directory excute `sudo cp bin/priman /usr/local/bin`.
2. You're Done!

## Usage

### Encrypting any files

`priman -e <filename>`

### Decrypting any files

`priman -d <filename>`

## Donation
##### Bitcoin: 171BNy1JfrK7tMEMgy4hrSpfK34jb2m1Nm
##### Ethereum: 0xFcA51D9835c9e39D6F6c9166CCf7807b4F3c7E44
##### **MONERO**: 48ivbhqaGVhcXgd347kTsXRXrpW4zSUA2cqPCRsU7DRcNCSnoystAhoYjMvA2k6nUc53NmT2Ff3RheWVK5cnJWiNRfXa251
##### Zcash: t1dX9EMkLJ1LfjHqWBpMyQTBdfQj6ESxunX
##### Ravencoin: RQtvHhvGZKcz1XYa3PgDJEfp2r1VJMuF7H
##### USDT: 171BNy1JfrK7tMEMgy4hrSpfK34jb2m1Nm
##### Dogecoin: DCFme3Y3JYBiFXvyTbzVRV2K9zPZf2VhgV

## License

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.